﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_TOOL.Tool.CheckThoiGianLamViec
{
    public class ReportConstants
    {
        public const string FormName = "CHECK THỜI GIAN LÀM VIỆC CỦA NHÂN VIÊN";
        public class ReportName
        {
            public const string QTongthoigianCacBophan = "Thời gian tổng từng bộ phận";
            public const string QTongthoigiannghiCacBophan = "Thời gian nghỉ từng bộ phận";
            public const string QtongOvertimeCacbophan = "Thời gian overtime từng bộ phận";
            public const string QmacongviecInspection = "Thời gian theo mã công việc Inspection";
            public const string QmacongviecMain = "Thời gian theo mã công việc Main";
            public const string QmacongviecOffice = "Thời gian theo mã công việc Office";
            public const string QmacongviecPlanning = "Thời gian theo mã công việc Planning";
            public const string QmacongviecSurface = "Thời gian theo mã công việc Surface";
            public const string QmacongviecTech = "Thời gian theo mã công việc Tech";
            public const string Qmacongviec_Via = "Thời gian theo mã công việc Via";

        }

        public class ReportId
        {
            public const int QTongthoigianCacBophan = 1;
            public const int QTongthoigiannghiCacBophan = 2;
            public const int QtongOvertimeCacbophan = 3;
            public const int QmacongviecInspection = 4;
            public const int QmacongviecMain = 5;
            public const int QmacongviecOffice = 6;
            public const int QmacongviecPlanning = 7;
            public const int QmacongviecSurface = 8;
            public const int QmacongviecTech = 9;
            public const int Qmacongviec_Via = 10;
        }

        public class StoredProcedure
        {
            public const string QTongthoigianCacBophan = "Sp_242_3_Rpt_QTongthoigian_cacBophan";
            public const string QTongthoigiannghiCacBophan = "Sp_242_3_Rpt_QTongthoigiannghi_cacBophan1";
            public const string QtongOvertimeCacbophan = "Sp_242_3_Rpt_QtongOvertime_cacbophan";
            public const string QmacongviecInspection = "Sp_242_3_Rpt_Qmacongviec_Inspection";
            public const string QmacongviecMain = "Sp_242_3_Rpt_Qmacongviec_Main";
            public const string QmacongviecOffice = "Sp_242_3_Rpt_Qmacongviec_Office";
            public const string QmacongviecPlanning = "Sp_242_3_Rpt_Qmacongviec_Planning";
            public const string QmacongviecSurface = "Sp_242_3_Rpt_Qmacongviec_Surface";
            public const string QmacongviecTech = "Sp_242_3_Rpt_Qmacongviec_Tech";
            public const string Qmacongviec_Via = "Sp_242_3_Rpt_Qmacongviec_Via";

        }

        public class Item
        {
            public string Name;
            public int Value;
            public Item(string name, int value = -1)
            {
                Name = name; Value = value;
            }
            public override string ToString()
            {
                // Generates the text shown in the combo box
                return Name;
            }
        }
    }
}
